package cn.outsourcing.supermarket.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 分页返回结果
 *
 * @author gzkemays
 * @since 2021/10/18 10:59
 */
@Data
@Builder
@AllArgsConstructor
public class PageResult<T> {
  int count;
  long totalPages;
  long pageSize;
  long currentPage;
  List<T> data;
}
